package com.common.library.widget;

import android.view.View;
import android.view.WindowManager.LayoutParams;

/**
 * 
 * function: 菜单基类
 * 
 * @ author: aXiBa
 */
public abstract class SDKGameBaseMenu {
	
	protected View mView;
	
	protected LayoutParams wmParams;


	/**
	 * 
	 * function: 
	 *
	 * @return
	 * 
	 * @ author: aXiBa 2013-3-26 上午9:43:00
	 */
	public abstract View getView();
	
	
	/**
	 * 
	 * function: 
	 *
	 * @return
	 * 
	 * @ author: aXiBa 2013-3-26 上午9:40:24
	 */
	public abstract LayoutParams getWindowLayoutParams(int x,int y);
	
	/**
	 * 
	 * function: 屏幕方向改变处理
	 *
	 * 
	 * @ author: aXiBa 2013-3-26 上午9:40:29
	 */
	public abstract void onScreenOrientationChange();
	public LayoutParams getWmParams() {
		return wmParams;
	}

	public void setWmParams(LayoutParams wmParams) {
		this.wmParams = wmParams;
	}
}
